package com.ly.heart.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ly.common.core.domain.BaseVo;
import lombok.Data;
import com.ly.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 金蝶-汇率类型对象 erp_king_base_exchange_rate_type
 *
 * @author cxl
 * @date 2024-06-23
 */
@TableName ("erp_king_base_exchange_rate_type")
@ApiModel (value = "erp_king_base_exchange_rate_type对象", description = "金蝶-汇率类型")
@Data
public class KingBaseExchangeRateTypeEntity extends BaseVo {

        /** 主键id */
        @TableId (type = IdType.INPUT)
        private String id;

        /** 编码 */
        @ApiModelProperty ("编码")
        @TableField ("code")
        @Excel (name = "编码")
        private String code;

        /** 名称 */
        @ApiModelProperty ("名称")
        @TableField ("name")
        @Excel (name = "名称")
        private String name;

        /** 直接汇率精度 */
        @ApiModelProperty ("直接汇率精度")
        @TableField ("direct_rate_accuracy")
        @Excel (name = "直接汇率精度")
        private String directRateAccuracy;

        /** 间接汇率精度 */
        @ApiModelProperty ("间接汇率精度")
        @TableField ("indirect_rate_accuracy")
        @Excel (name = "间接汇率精度")
        private String indirectRateAccuracy;

        /** 描述 */
        @ApiModelProperty ("描述")
        @TableField ("describe")
        @Excel (name = "描述")
         private String describe;

        /** 录入人 */
        @ApiModelProperty ("录入人")
        @TableField ("user_id")
        @Excel (name = "录入人")
        private String userId;

        @ApiModelProperty ("创建时间")
        @JsonFormat ( pattern = "yyyy-MM-dd HH:mm:ss" )
        @TableField ("create_time")
        private Date createTime;

        /** 修改人id */
        @ApiModelProperty ("修改人id")
        @TableField ("change_id")
        @Excel (name = "修改人id")
        private String changeId;

        /** 更新时间 */
        @ApiModelProperty ("更新时间")
        @TableField ("change_time")
        @JsonFormat (pattern = "yyyy-MM-dd")
        @Excel (name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
        private Date changeTime;

        /** 逻辑删除 */
        @ApiModelProperty ("逻辑删除")
        @TableField ("is_used")
        @Excel (name = "逻辑删除")
        private Integer isUsed;

        @ApiModelProperty ("是否可用")
        @TableField ("is_del")
        @Excel (name = "是否可用")
        private Integer isDel;

        /** 是否系统预设 */
        @ApiModelProperty ("是否系统预设")
        @TableField ("is_system")
        @Excel (name = "是否系统预设")
        private Boolean isSystem;

}
